﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace PMSMVC.Models
{
    [Table("DocTaskCheck")]
    public class DocTaskCheck
    {
        [Key,Display(Name="任务"),DatabaseGenerated(DatabaseGeneratedOption.None),ForeignKey("DocTask")]
        public int TaskID { get; set; }
        [Display(Name = "完成确认时间"), DataType(DataType.Date)]
        public DateTime CheckTime { get; set; }
        [Display(Name = "完成确认人"), StringLength(20)]
        public string UserID { get; set; }
        [Display(Name = "实际完成时间"), DataType(DataType.Date)]
        public DateTime EndTime { get; set; }
        [Display(Name = "备注"), StringLength(200), DataType(DataType.MultilineText)]
        public string Remark { get; set; }
        public virtual DocTask DocTask { get; set; }
    }
}